package com.cw.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cw.common.api.Response;
import com.cw.dto.*;
import com.cw.entity.ThisIiPrepayin;
import com.cw.entity.VRJSZ;
import com.cw.entity.VYqBrdjxx;
import com.cw.vo.ResultRjszVO;
import com.cw.vo.ThisIiPrepayinRJVO;
import com.github.pagehelper.PageInfo;

import java.math.BigDecimal;

public interface RjbfCenterService extends IService<VYqBrdjxx> {
    PageInfo<VRJSZ> getVYqBrdjxxRJSSPagesInfo(VYqBrdjxxCondition condition);

    VYqBrdjxxVeiwDTO getRJSSVYqBrdjxx(VyqBrdjxxVeiwCondition condition);

    Response delPatientBed(String id,String operName);

    Response updatePatientBed(String id);

    Response addPatientBed(RjszDTO entity);

    ThisIiPrepayinRJVO getIiPrepayinByIdRJ(BigDecimal preid);
    ResultRjszVO searchRJSS();
    ResultRjszVO searchRJSZ();


    /**
     * 自己本系统的手工电子住院证
     * @param handworkPrepayinDto
     * @return
     */
    PageInfo<ThisIiPrepayin> getHandworkPrepayin(HandworkPrepayinDto handworkPrepayinDto);

    void getVYqBrdjxxRJSSDownLoad(VYqBrdjxxCondition condition);

    /**
     * 作废电子住院证时同时修改日间输注/日间手术表状态
     * @param preId
     * @return
     */
    Response cancellation(String preId);
}
